package org.domeos.framework.api.model.productline;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 产品线树
 * @author lixiaokai
 *
 */
public class ProductLineTree implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private int pId;
	private String title;
	private int level;
	private String env;
	private List<ProductLineTree> nodes = new ArrayList<>();
	
	public ProductLineTree() {
	}
	
	public ProductLineTree(int id,int pId, String title,int level,String env,List<ProductLineTree> nodes) {
		this.id = id;
		this.pId = pId;
		this.title = title;
		this.level = level;
		this.nodes = nodes;
		this.env = env;
	}
	

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public List<ProductLineTree> getNodes() {
		return nodes;
	}

	public void setNodes(List<ProductLineTree> nodes) {
		this.nodes = nodes;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public String getEnv() {
		return env;
	}

	public void setEnv(String env) {
		this.env = env;
	}

	public int getpId() {
		return pId;
	}

	public void setpId(int pId) {
		this.pId = pId;
	}
}
